<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/31 0031
 * Time: 12:03
 */

namespace app\index\model;
use think\Model;

class Lab extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    public function teacher(){
        return $this->belongsTo('Teacher');
    }
}